#ifndef FILE_MANAGER_H
#define FILE_MANAGER_H

#include <filesystem>
#include <list>
#include <string>
#include <vector>

class FileManager
{
  public:
    FileManager(std::filesystem::path path,std::vector<std::string> CameraIDList);
    virtual ~FileManager();
    std::list<long> ScanRecordName();
    bool CreateRecord(long id);
    bool DeleteRecord(long id);
    bool CheckRecordExists(long id);
    bool CheckRecordFinish(long id);
    bool CheckRecordHandle(long id);
    std::string GetRecordPath(long id);
  private:
    std::filesystem::path rootPath;
    std::vector<std::string> CameraID;
};

#endif
